package com.deram.ctin.serv.business.service;

import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.business.entity.BaseUpdateInfo;
import com.deram.ctin.serv.business.entity.BusinessAbnormal;
import com.deram.ctin.serv.business.filter.BusinessAbnormalFilter;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/13 15:26
 * @version: V1.0
 */
public interface BusinessAbnormalService {

    BusinessAbnormal find(Long id);

    List<BusinessAbnormal> list(BusinessAbnormalFilter filter);

    BusinessAbnormal save(BusinessAbnormal param);

    void delete(Long id);

    void deleteByEnterId(Long id);

    void saveList(BaseUpdateInfo<BusinessAbnormal> updateInfo);

    PageResult<BusinessAbnormal> search( BusinessAbnormalFilter filter,  Integer pageNo,  Integer pageSize);

}
